import { get, post } from '../http/request.js'

export function checkInOrOut() {
    return post('/attendance/check')
}

export function getPersonalAttendance(params) {
    return get('/attendance/myRecords', params)
}

export function getDeptAttendance(params) {
    return get('/attendance/othersRecords', params)
}

export function repairAttendance(params) {
    return post('/attendance/repair', params)
}